<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <title>500页面</title>
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width = device-width, initial-scale = 1.0, maximum-scale = 1.0, user-scalable = 0" />
    <style>
        * {
            padding: 0;
            margin: 0;
        }

        html {
            height: 100%;
        }

        body {
            position: relative;
            height: calc(100% - 44px);
            background: #FAF5F6;
        }

        .tip-redirect {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
        }

        .tip-redirect p {
            color: #666666;
            margin-bottom: 10px;
        }

        .redirect-button {
            padding: 4px 8px;
            border-radius: 6px;
            text-decoration: none;
            background: #f26122;
            color: #FFFFFF;
        }
        .header {
            width: 100%;
            height: 44px;
            position: fixed;
            top: 0;
            background-color: #f26122;
            display: flex;
            align-items: center;
            z-index: 99;
        }

        .header-logo {
            display: inline-block;
            width: 57px;
            height: 28px;
            margin-left: 10px;
        }

        .header-logo img {
            width: 100%;
            height: 100%;
        }
    </style>
</head>
<body>
    <div class="header">
        <a class="header-logo" th:href="@{/index}">
            <img src="http://owtl83r0c.bkt.clouddn.com/logo.jpg"/>
        </a>
    </div>
    <div class="tip-redirect">
        <img src="http://owtl83r0c.bkt.clouddn.com/404.png"/>
        <p>优惠券页面失效啦，请点击下面按钮，查看其他商品哦</p>
        <a th:href="@{/index}" class="redirect-button">点击回首页</a>
    </div>
</body>
</html>
